package org.ls.petclinic.pojo;

import java.time.LocalDate;

/**
 * @author 浪矢先生
 * @description
 * @create 2022-12-05 21:27
 */
public class Pets {
    /** 主键 */
    private Long id ;
    /** 宠物名 */
    private String name ;
    /** 出生日期 */
    private String birthDate ;
    /** 外键:关联owner表 */
    private Long ownerId ;
    /** 外键:关联type表 */
    private Long typeId;

    public Pets() {
    }

    public Pets(Long id, String name, String birthDate, Long ownerId, Long typeId) {
        this.id = id;
        this.name = name;
        this.birthDate = birthDate;
        this.ownerId = ownerId;
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    /** 主键 */
    public Long getId(){
        return this.id;
    }
    /** 主键 */
    public void setId(Long id){
        this.id=id;
    }
    /** 宠物名 */
    public String getName(){
        return this.name;
    }
    /** 宠物名 */
    public void setName(String name){
        this.name=name;
    }

    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    /** 外键:关联owner表 */
    public Long getOwnerId(){
        return this.ownerId;
    }
    /** 外键:关联owner表 */
    public void setOwnerId(Long ownerId){
        this.ownerId=ownerId;
    }
}
